﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("请输入闹钟的时分:");
            string[] strs = Console.ReadLine().Split(new char[] { ' ' }[0]);
            int hour = Int32.Parse(strs[0]);
            int minute = Int32.Parse(strs[1]);
            ClockForm clockForm = new ClockForm(hour, minute);
            clockForm.myClock.run();
            Console.ReadKey();
        }
    }
}
